package tech.veedo.munchkin.services.backend;

import com.baomidou.mybatisplus.extension.service.IService;
import tech.veedo.munchkin.beans.basic.User;
import tech.veedo.munchkin.beans.backend.Workflow;

/**
 * 对审批流进行业务操作
 */
public interface WorkflowService extends IService<Workflow> {

    boolean saveWorkflow(Workflow workflow, User user);

    boolean updateWorkflow(Workflow workflow, User user);

    boolean deleteWorkflow(Long id, User user);

}
